//
//  MyAddressTableViewCell.m
//  NewProject
//
//  Created by admin on 2017/6/22.
//  Copyright © 2017年 李航飞. All rights reserved.
//

#import "MyAddressTableViewCell.h"

@implementation MyAddressTableViewCell
-(instancetype)initWithResueIdentifier:(NSString*)identifier;{
    self = [super initWithStyle:0 reuseIdentifier:identifier];
    if (self) {
        [self setUpView];
    }
    return self;
}
- (void)setUpView{
    _nameLable = [[UILabel alloc] initWithFrame:CGRectMake(35*kScrenWidth, 25*kScrenHidth, 55*kScrenWidth, 25*kScrenHidth)];
    _nameLable.font=FONT(15);
    _nameLable.textColor=[UIColor blackColor];
    [self addSubview:_nameLable];
    
    _telLable = [[UILabel alloc] initWithFrame:CGRectMake(_nameLable.frame.size.width+_nameLable.frame.origin.x, _nameLable.frame.origin.y, 200*kScrenWidth, 25*kScrenHidth)];
    _telLable.font=FONT(15);
    _telLable.textColor=[UIColor blackColor];
    [self addSubview:_telLable];
    
    _addressLable = [[UILabel alloc] initWithFrame:CGRectMake(_nameLable.frame.origin.x, _nameLable.frame.origin.y+_nameLable.frame.size.height, 250*kScrenWidth, 25*kScrenHidth)];
    _addressLable.font=FONT(15);
    _addressLable.textColor=[UIColor colorWithRed:155/255.0 green:155/255.0 blue:155/255.0 alpha:1];
    [self addSubview:_addressLable];
    
    UILabel *line=[[UILabel alloc] initWithFrame:CGRectMake(WIDTH-70*kScrenWidth, 25*kScrenHidth, 1, 50*kScrenHidth)];
    line.backgroundColor=LINE_COLOE_251;
    [self addSubview:line];
    
    UIImageView *xiuGaiImg=[[UIImageView alloc] initWithFrame:CGRectMake(line.frame.origin.x+line.frame.size.width+35*kScrenWidth, 40*kScrenHidth, 20*kScrenWidth, 20*kScrenHidth)];
    [self addSubview:xiuGaiImg];
    [xiuGaiImg setImage:[UIImage imageNamed:@"xiugai"]];
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
